time.Time.Add (method)

70 uses

	time (current package)
		sleep.go#L187: 	case c.(chan Time) <- Now().Add(Duration(-delta)):
		time.go#L1170: func (t Time) Add(d Duration) Time {
		time.go#L1205: 	case u.Add(d).Equal(t):
		time.go#L1788: 	return t.Add(-r)
		time.go#L1806: 		return t.Add(-r)
		time.go#L1808: 	return t.Add(d - r)

	context
		context.go#L704: 	return WithDeadline(parent, time.Now().Add(timeout))
		context.go#L711: 	return WithDeadlineCause(parent, time.Now().Add(timeout), cause)

	crypto/tls
		conn.go#L1477: 		c.SetWriteDeadline(time.Now().Add(time.Second * 5))
		handshake_client_tls13.go#L873: 	session.useBy = uint64(c.config.time().Add(lifetime).Unix())

	database/sql
		sql.go#L591: 	return dc.createdAt.Add(timeout).Before(nowFunc())
		sql.go#L1147: 		idleSince := nowFunc().Add(-db.maxIdleTime)
		sql.go#L1172: 		expiredSince := nowFunc().Add(-db.maxLifetime)

	github.com/jackc/pgx/v5/pgconn
		pgconn.go#L782: 		deadline := time.Now().Add(time.Second * 15)
		pgconn.go#L2956: 	h.Conn.SetDeadline(time.Now().Add(h.DeadlineDelay))
		pgconn.go#L2983: 	deadline := time.Now().Add(h.DeadlineDelay)

	github.com/jackc/pgx/v5/pgxpool
		pool.go#L301: 				maxAgeTime := time.Now().Add(config.MaxConnLifetime).Add(time.Duration(jitterSecs) * time.Second)

	go.pact.im/x/clock/fakeclock
		fakeclock.go#L62: 	return Time(t.Add(d))
		fakeclock.go#L116: 	c.now = c.now.Add(d)
		fakeclock.go#L195: 	return c.schedule(m, c.now.Add(d))
		fakeclock.go#L243: 		_ = c.schedule(m, now.Add(next))

	go.pact.im/x/flaky
		jitter.go#L93: 	next = next.Add(d)
		schedule.go#L79: 	next := midnight.Add(t.d)
		schedule.go#L83: 		next = next.Add(24 * time.Hour)
		schedule.go#L105: 	return now.Add(t.d)

	go.pact.im/x/zapjournal/tests
		journalctl.go#L23: 	deadline := time.Now().Add(journalctlTimeout)

	golang.org/x/net/http2
		http2.go#L330: 		conn.SetWriteDeadline(time.Now().Add(timeout))
		server.go#L925: 	pingAt := lastFrameReadTime.Add(sc.readIdleTimeout)

	golang.org/x/net/internal/timeseries
		timeseries.go#L188: 	} else if t.After(ts.pendingTime.Add(-1 * smallBucketDuration)) {
		timeseries.go#L237: 		if !t.Before(level.end.Add(level.size * time.Duration(ts.numBuckets))) {
		timeseries.go#L245: 			level.end = level.end.Add(level.size)
		timeseries.go#L340: 	return ts.Range(now.Add(-delta), now)
		timeseries.go#L368: 		if !start.Before(l.end.Add(-l.size * time.Duration(ts.numBuckets))) {
		timeseries.go#L389: 	return ts.ComputeRange(now.Add(-delta), now, num)
		timeseries.go#L400: 	srcStart := l.end.Add(-srcInterval * time.Duration(ts.numBuckets))
		timeseries.go#L408: 		srcStart = srcStart.Add(time.Duration(advance) * srcInterval)
		timeseries.go#L418: 		dstEnd := dstStart.Add(dstInterval)
		timeseries.go#L420: 			srcEnd := srcStart.Add(srcInterval)
		timeseries.go#L452: 			srcStart = srcStart.Add(srcInterval)
		timeseries.go#L454: 		dstStart = dstStart.Add(dstInterval)

	google.golang.org/grpc
		clientconn.go#L1351: 	connectDeadline := time.Now().Add(dialDuration)
		server.go#L987: 	rawConn.SetDeadline(time.Now().Add(s.opts.connectionTimeout))

	google.golang.org/grpc/internal/resolver/dns
		dns_resolver.go#L223: 			nextResolutionTime = internal.TimeNowFunc().Add(MinResolutionInterval)
		dns_resolver.go#L232: 			nextResolutionTime = internal.TimeNowFunc().Add(backoff.DefaultExponential.Backoff(backoffIndex))

	google.golang.org/grpc/internal/transport
		http2_client.go#L1011: 	t.conn.SetWriteDeadline(time.Now().Add(time.Second * 10))
		http2_client.go#L1014: 	t.conn.SetReadDeadline(time.Now().Add(time.Second))
		http2_server.go#L909: 		if t.lastPingAt.Add(defaultPingTimeout).After(now) {
		http2_server.go#L914: 		if t.lastPingAt.Add(t.kep.MinTime).After(now) {

	log/slog
		handler.go#L629: 	t = t.Truncate(time.Millisecond).Add(time.Millisecond / 10)

	net
		dial.go#L253: 		earliest = now.Add(d.Timeout)
		dial.go#L289: 	return now.Add(timeout), nil
		dnsclient_unix.go#L182: 		ctx, cancel := context.WithDeadline(ctx, time.Now().Add(timeout))
		dnsclient_unix.go#L402: 	if conf.lastChecked.After(now.Add(-5 * time.Second)) {
		hosts.go#L61: 		hosts.expire = now.Add(cacheMaxAge)
		hosts.go#L120: 	hosts.expire = now.Add(cacheMaxAge)
		interface.go#L201: 	if !force && zc.lastFetched.After(now.Add(-60*time.Second)) {
		nss.go#L59: 	if conf.lastChecked.After(now.Add(-5 * time.Second)) {

	net/http
		client.go#L199: 		return time.Now().Add(c.Timeout)
		h2_bundle.go#L3774: 		conn.SetWriteDeadline(time.Now().Add(timeout))
		h2_bundle.go#L5060: 	pingAt := lastFrameReadTime.Add(sc.readIdleTimeout)
		server.go#L987: 		hdrDeadline = t0.Add(d)
		server.go#L990: 		wholeReqDeadline = t0.Add(d)
		server.go#L995: 			c.rwc.SetWriteDeadline(time.Now().Add(d))
		server.go#L1927: 			dl := time.Now().Add(tlsTO)
		server.go#L2100: 			c.rwc.SetReadDeadline(time.Now().Add(d))
		transport.go#L1196: 		oldTime = time.Now().Add(-t.IdleConnTimeout)

	net/http/pprof
		pprof.go#L130: 		rc.SetWriteDeadline(time.Now().Add(timeout))

	testing
		testing.go#L2542: 		deadline = time.Now().Add(*timeout)
		testing.go#L2787: 	deadline := time.Now().Add(*timeout)